package com.baibei.module;

import android.app.Activity;

/**
 * 充值帮助类
 * Created by shenminjie on 2017/9/22.
 * mail:shenminjie@100bei.com
 */

public class RechargeHelper {

    /**
     * 跳转到充值操作
     * 1.登录
     * 2.实名认证
     */
    public static void toRecharge(Activity activity, UserStatus status) {
        if (activity == null || status == null) {
            return;
        }
        if (!status.isLogin()) {
            AppRouter.routeToLogin(activity);
            return;
        }
//        if (!status.isRealName()) {
//            AppRouter.routeToNameAuth(activity);
//            return;
//        }
        AppRouter.routeToRecharge(activity);
    }

}
